.copyButton {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 8px;
  border-radius: 4px;
  position: absolute;
  top: 4px;
  right: 4px;
}

.copyButton:hover {
  opacity: 1;
  background: var(--gray-alpha-100);
}

.copyButton:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent-color);
}

/* Adjust copy button position on mobile devices */
@media (max-width: 600px) {
  .copyButton {
    display: none; 
  }
}